﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UserModels;
using UserModels.DTO;

namespace UserRepositorys.Intface
{
    public interface IMenuRepository
    {
        //菜单
        Task<List<MenuTree>> GetMenuTrees(int id);
        //第一级菜单
        Task<List<MenuTree>>GetMenus(int id, int accountId);
        /// <summary>
        /// 添加菜单
        /// </summary>
        /// <returns></returns>
        Task<int> AddMenus(MenuInfoModel menuInfo);
    }
}
